/*
 *
 *
 *
 *
 */

package com.usefullc.user.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "权限资源")
@TableName("u_auth_res")
@Data
public class AuthRes extends BaseEntity {


    @ApiModelProperty(notes = "编码")
    private String code;

    @ApiModelProperty(notes = "名称")
    private String name;

    @ApiModelProperty(notes = "URL")
    private String url;

    @ApiModelProperty(notes = "模板URL")
    private String tplUrl;

    @ApiModelProperty(notes = "是否菜单(0：否-功能连接，1：是)")
    private Boolean menu;

    @ApiModelProperty(notes = "是否仅展示（0：否，1：是）")
    private Boolean display;

    @ApiModelProperty(notes = "动作ID")
    private String actionId;

    @ApiModelProperty(notes = "图标")
    private String icon;

    @ApiModelProperty(notes = "描述")
    private String description;

    @ApiModelProperty(notes = "级别")
    private Integer level;

    @ApiModelProperty(notes = "状态")
    private Integer status;

    @ApiModelProperty(notes = "父ID")
    private Long parentId;

    @ApiModelProperty(notes = "排序")
    private Integer orderNo;


    @ApiModelProperty(notes = "应用类型")
    private String appType;


    @ApiModelProperty(notes = "是否需要校验")
    private Boolean authCheck;

    @ApiModelProperty(notes = "是否需要风控验证")
    private Boolean riskCheck;

    @ApiModelProperty(notes = "风控验证条件")
    private String riskCheckCondition;

    @ApiModelProperty(notes = "是否需要防重提交校验")
    private Boolean repeatCheck;


    public AuthRes(){
    }

}
